﻿using CalligraphyWeb.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ThuPhap.Models;

namespace CalligraphyWeb
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "Icalligraphy" in both code and config file together.
    [ServiceContract]
    public interface Icalligraphy
    {
        [OperationContract]
        string DoWork();

        [OperationContract]
        ObservableCollection<TemplateThumbnail> GetOnlineTemplateItems();

        [OperationContract]
        byte[] GetOnlineTemplate(int id);
    }
}
